<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%><%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<tiles:insertDefinition name="dialog-layout">
	<tiles:putAttribute name="head">
		<script type="text/javascript">
			$(function() {
				$(".date").datepicker({
					dateFormat : "yy-mm-dd"
				});

				$("form").Validform({
					ajaxPost : true,
					customReset : true,
					tiptype : ValidUtils.siblingTip,
					callback : function(data) {
						helper.showMsg(data, {
							okHandler : function() {
								art.dialog.data("success", true);
								art.dialog.close();
							}
						});
					}
				});
			});
		</script>
	</tiles:putAttribute>
	<tiles:putAttribute name="mainBody">
		<form action="../school/doFreezCourse" method="post" class="form-horizontal">
			<input type="hidden" name="signId" value="${signId}" /> <input type="hidden" name="studentid" value="${studentId}" />
			<fieldset>
				<legend>冻结课程日志</legend>
				<div class="control-group">
					<label class="control-label">
						延期至<span style="color: #F00">*</span>
					</label>
					<div class="controls">
						<input class="date" type="text" name="resumeDate" />重新开始 <span class="Validform_checktip"></span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">
						预计结课日期<span style="color: #F00">*</span>
					</label>
					<div class="controls">
						<input class="date" type="text" name="endDate" /> <span class="Validform_checktip"></span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">说明 </label>
					<div class="controls">
						<input type="text" name="title" /> <span class="Validform_checktip"></span>
					</div>
				</div>
			</fieldset>
			<div class="control-group">
				<div class="controls">
					<button class="btn btn-primary" type="submit">
						<i class="icon-ok"></i>提交
					</button>
				</div>
			</div>
		</form>
	</tiles:putAttribute>
</tiles:insertDefinition>